Skip to content

Conversation

lsirac
Copy link
Contributor

@lsirac lsirac commented Oct 25, 2018

…InFragment and added documentation for email link sign in
@lsirac lsirac requested a review from samtstern as a code owner October 25, 2018 02:01
Copy link
Contributor

@samtstern samtstern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comments.

.ACTION_CODE_SETTINGS);

if (savedInstanceState == null || !savedInstanceState.getBoolean(EMAIL_SENT)) {
if (!mEmailSent && (savedInstanceState == null || !savedInstanceState.getBoolean
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your crazy formatter is at it again!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢 fixed!



private void switchFragment(Fragment fragment, String tag, boolean withTransition) {
private void switchFragment(Fragment fragment, String tag, boolean withTransition,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make an overload without the new param that defaults it to false?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have one already that sets both booleans to false.

@samtstern samtstern added this to the 4.3.0 milestone Oct 28, 2018

@Override
public void onClickResendEmail(String email) {
if (getSupportFragmentManager().getBackStackEntryCount() > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just add a comment here detailing the assumption you're making? As I understand it, you're assuming that if there's any back stack at all here it's due to the trouble sending flow and you want to pop from the stack.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. Done. 😃

@samtstern samtstern merged commit 0fb425e into version-4.3.0-dev Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants